<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script type="text/javascript">
			function Cobj(name,vender,qualified,price,explain) {
				var obj = new Object();
				obj.name = name;
				obj.vender = vender;
				obj.qualified = qualified;
				obj.price = price;
				obj.explain = explain;
				obj.say = function() {
					console.log("\n"+"汽车名字:"+obj.name+"\n"+"厂商:"+obj.vender+"\n"+"合格证:"+obj.qualified+"\n"+"建议零售价:"+obj.price+"\n"+"说明:"+obj.explain)
				}
				return obj;
			}
			var objs =new Cobj("兰博基尼","意大利","perfect","2000万","嗷嗷带感");
			objs.say()
		</script>
	</body>

</html>